package com.example.demo.Service;

import com.example.demo.repository.domain.Administrator;

/**
 * @author ZhangKe
 * @Description
 * @date 2019/7/4 9:05.
 */
public interface AdministratorService {

    Administrator getById(int id);

    Administrator getByName(String name);

    int register(Administrator name);

    int login(String name,String password);
}
